﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Sharp.DataTransferObject;
using Sharp.Infrastructure.Interfaces;
using Sharp.Portal;
using Sharp.Portal.AdminLTE;
using Sharp.Portal.Mvc.List;
using Sharp.Portal.Other;
namespace Sharp.WebBooter.Areas.Platform.Models
{
    /// <summary>
    /// 组织层级
    /// </summary>
    [Title("组织层级管理")]
    [DataHandler(ModuleOP.Details, "浏览", 0)]
    [DataHandler(ModuleOP.Create, "新增", 1)]
    [DataHandler(ModuleOP.Edit, "修改", 2)]
    [DataHandler(ModuleOP.Delete, "删除", 3)]
    [DataHandler(ModuleOP.Refresh, "刷新", 4)]
    public partial class OrgLevelIndexViewModel : BSSharpList
    {
        public OrgLevelIndexViewModel()
        {
            this.Feature = ListFeature.MultiSelect | ListFeature.Paging | ListFeature.RowNumber;
        }
        /// <summary>
        /// 主键Id
        /// </summary>
        /// <value>主键Id</value>
        [Column(Hidden = true)]
        public Guid Id { get; set; }

        [Column(Width = 100, Text = "代码", Order = 0)]
        public string Code { get; set; }
        /// <summary>
        /// 名称
        /// </summary> 
        [Column(Width = 200, Text = "名称", ToolTip = "orgPath", Order = 1), QueryOption(Option = QueryFeature.DefualtQuery)]
        public string Title { get; set; }


        /// <summary>
        /// 备注
        /// </summary>
        /// <value>备注</value>
        [Column(Text = "备注", Order = 5, Flex = 1)]
        public string Remark { get; set; }

 


    }
}